<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .center {
            width: 300px;
            height: 200px;
            padding: 10px;
            border: 1px solid #ccc;
            background: #000;
            color: #fff;
            margin: 20px auto;

            display: -webkit-box;
            -webkit-box-orient: horizontal;
            -webkit-box-pack: center;
            -webkit-box-align: center;

            display: -moz-box;
            -moz-box-orient: horizontal;
            -moz-box-pack: center;
            -moz-box-align: center;

            -o-box-orient: horizontal;
            -o-box-pack: center;
            -o-box-align: center;


            -ms-box-orient: horizontal;
            -ms-box-pack: center;
            -ms-box-align: center;


            box-orient: horizontal;
            box-pack: center;
            box-align: center;
        }
    </style>
</head>
<body>
<div class="center">
    <div class="text">
        <p>我是多行文字</p>
        <p>我是多行文字</p>
        <p>我是多行文字</p>
    </div>
</div>
</body>
</html>